package com.dayatang.hrm.compensation.infra.tapestry;

import org.apache.tapestry5.ioc.ServiceBinder;

import com.dayatang.hrm.compensation.infra.hibernate.DataCalculatePolicyRepositoryImpl;
import com.dayatang.hrm.compensation.infra.hibernate.RoundingModePolicyRepositoryImpl;
import com.dayatang.hrm.compensation.policy.DataCalculatePolicyRepository;
import com.dayatang.hrm.compensation.policy.RoundingModePolicyRepository;

/**
 * This module is automatically included as part of the Tapestry IoC Registry,
 * it's a good place to configure and extend Tapestry, or to place your own
 * service definitions.
 */
public class SupportModule {

	public static void bind(ServiceBinder binder) {

		binder.bind(RoundingModePolicyRepository.class,
				RoundingModePolicyRepositoryImpl.class);
		binder.bind(DataCalculatePolicyRepository.class,
				DataCalculatePolicyRepositoryImpl.class);

	}

}
